package cn.young.javalearning.designpattern.templatePattern;

public class MyOneDay extends PersonWuLaoDeYiTian {

    public void run(){
        _6dian();
        _7dian();
        _8dian();
        _9dian();
        _10dian();
        _11dian();
        _12dian();
        _13dian();
        _14dian();
        _15dian();
        _16dian();
        _17dian();
        _18dian();
        _19dian();
        _20dian();
        _21dian();
        _22dian();
    }

    @Override
    protected void _8dianDoOther() {
        System.out.println("111111, 额外撒了泡尿");
    }

    @Override
    protected void _10dianDoOther() {
        System.out.println("2222222，喝了点水");
    }

    @Override
    public void _13dianDoOther() {
        System.out.println("33333， 水喝多了，又要撒尿了。。。。");
    }

    public static void main(String[] args) {
        new MyOneDay().run();
    }
}
